package com.mrx.xfriendship.model.po;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 *
 */
@Data
public class PostPO implements Serializable {

    private Integer id;

    private Integer tagId;

    private Integer viewCount;

    private String title;

    private String content;

    private TagPO tag;

    private UserPO author;

    private CommentPO lastComment;

    private List<CommentPO> comment;

    /**
     *
     */
    private LocalDateTime createTime;

    /**
     *
     */
    private Integer createUserId;

}